package com.binance.mbxgateway.vo;

import com.binance.master.commons.ToString;
import lombok.Data;

import java.util.List;

@Data
public class ApiKeyInfoVo extends ToString {
    private Long keyId;
    private Long accountId;
    private String desc;
    private List<String> permissions;
    private List<Rule> rules;

    @Data
    public static class Rule extends ToString {
        private Long ruleId;
        private String ip;
        private Long effectiveFrom;
    }
}
